project(libLzs)
cmake_minimum_required(VERSION 2.8)

# 文件表
file(GLOB srcList
    "./Src/*.h"
    "./Src/*.cpp"
)

file(GLOB ContainerSrc
    "./Src/container/*.h"
    "./Src/container/*.cpp"
)

file(GLOB PipelineSrc
    "./Src/pipeline/*.h"
    "./Src/pipeline/*.cpp"
)

file(GLOB UtilsSrc
    "./Src/utils/*.h"
    "./Src/utils/*.cpp"
)

set(LIB_SRC_LIST ${srcList} ${ContainerSrc} ${PipelineSrc} ${UtilsSrc})
set(EXE_SRC_LIST ${srcList} ${ContainerSrc} ${PipelineSrc} ${UtilsSrc})

# 生成文件
add_library(libLzss ${LIB_SRC_LIST})
add_executable(lzss ${EXE_SRC_LIST})


